package DesignMode.COR;

/**
 * @author VX5
 * @Title: MJC
 * @ProjectName DataStructure
 * @Description: TODO
 * @date ${DAT}14:45
 */
public abstract class Handler {//处理请示的接口
    protected Handler successor;

    public void setSuccessor(Handler successor) {//设置继承者
        this.successor = successor;
    }

    public abstract void HandleRequest(int request);//处理请求的抽象方法
}
